package cn.stylefeng.guns.modular.transport.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.transport.entity.TDispatchDriverEval;
import cn.stylefeng.guns.modular.transport.model.params.TDispatchDriverEvalParam;
import cn.stylefeng.guns.modular.transport.model.result.TDispatchDriverEvalResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 司机评价 服务类
 * </p>
 *
 * @author zhangzh
 * @since 2025-04-11
 */
public interface TDispatchDriverEvalService extends IService<TDispatchDriverEval> {

    /**
     * 新增
     *
     * @author zhangzh
     * @Date 2025-04-11
     */
    void add(TDispatchDriverEvalParam param);

    /**
     * 删除
     *
     * @author zhangzh
     * @Date 2025-04-11
     */
    void delete(TDispatchDriverEvalParam param);

    /**
     * 更新
     *
     * @author zhangzh
     * @Date 2025-04-11
     */
    void update(TDispatchDriverEvalParam param);

    /**
     * 查询单条数据，Specification模式
     *
     * @author zhangzh
     * @Date 2025-04-11
     */
    TDispatchDriverEvalResult findBySpec(TDispatchDriverEvalParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhangzh
     * @Date 2025-04-11
     */
    List<TDispatchDriverEvalResult> findListBySpec(TDispatchDriverEvalParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhangzh
     * @Date 2025-04-11
     */
     LayuiPageInfo findPageBySpec(TDispatchDriverEvalParam param, String condition);

}
